#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

int main() {
    int a, b, c;
    scanf("%d %d %d", &a, &b, &c);
    int max;
    if (a > b)
    {
        max = a;
        if (a > c)
            max = a;
        else
            max = c;
    }
    else //a<b
    {
        if (b > c)
            max = b;
        else
            max = c;
    }
    printf("%d", max);
    return 0;
}